import Layout from '@/layout'

export default {
  path: '/promotion',
  name: 'promotion',
  component: Layout,
  children: [
    {
      path: '',
      name: 'promotions',
      component: () => import('@/views/promotion'),
      meta: {
        title: '推广列表管理',
        icon: 'tree'
      }
    },
    {
      path: 'detail/:id',
      component: () => import('@/views/promotion/components'),
      name: 'detail',
      hidden: true,
      meta: {
        title: '推广详情'
      }
    }
  ]
}
